package com.yy.jhl.ui.manager.contract;

import com.yy.common.base.BasePresenter;
import com.yy.common.base.BaseView;
import com.yy.jhl.bean.MessageListInfo;

/**
 * Created by Ellis.Li on 2017/5/8.
 */
public interface MessageListContract {
    interface View extends BaseView {
        void getMessageListSuccess(MessageListInfo messageListInfo);
        void getMessageListFail();
        void getMessageResult(boolean isSuccess);
    }
    abstract static class Presenter extends BasePresenter<View> {
        public abstract void getMessageList(int start,int limit,int is_history,boolean isDialog);
        public abstract void setMessageReaded();
    }
}
